package com.player.thirdGroup.util;

import java.util.HashMap;
import java.util.Map;

public class BootStrapTablePage {
    public int limit;
    public int offset;
    public int page;

    public Map<String,String> searchMap = new HashMap<>();

    public int getLimit() {
        return limit;
    }

    public void setLimit(int limit) {
        this.limit = limit;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public Map<String, String> getSearchMap() {
        return searchMap;
    }

    public void setSearchMap(Map<String, String> searchMap) {
        this.searchMap = searchMap;
    }

    public int getNowPage(){
        return this.page-1;
    }
}
